Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes operator pod restart on changing addon params #779

Merged
merged 3 commits into from
May 10, 2022

Conversation

sm43
Copy link
Member

@sm43 sm43 commented May 10, 2022

after successfull installation, changing addon params is breaking
the code and pods keep restarting.
this fixes it.

#631 with some additional changes

Signed-off-by: Shivam Mukhade [email protected]

Changes

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide for more details.

Release Notes

after successfull installation, changing addon params is breaking
the code and pods keep restarting.
this fixes it.

Signed-off-by: Shivam Mukhade <[email protected]>
@tekton-robot tekton-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label May 10, 2022
@sm43 sm43 requested a review from nikhil-thomas May 10, 2022 07:05
@tekton-robot tekton-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label May 10, 2022
With this pr ko-build/ko#628 getting merged
operator Make apply is gives below error

```cat building github.com/google/ko/cmd/ko…
cannot find package "github.com/google/ko/cmd/ko" in any of:
	/usr/local/go/src/github.com/google/ko/cmd/ko (from $GOROOT)
	/tmp/tmp.rXMejzqfMj/src/github.com/google/ko/cmd/ko (from $GOPATH)
make: *** [Makefile:26: /home/pradeepkumar/go/src/github.com/tektoncd/operator/.bin/ko] Error 1
```

Signed-off-by: Pradeep Kumar <[email protected]>
@nikhil-thomas
Copy link
Member

/approve

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 10, 2022
@tekton-robot tekton-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels May 10, 2022
Freeze ko version to v0.9.3 as latest version fails to build on
go 1.16.13

Use `GO111MODULE=on` as `@version` syntax in go get will not work in
non GO mod

`go: can only use path@version syntax with 'go get' and 'go install' in
module-aware mode`

Signed-off-by: Nikhil Thomas <[email protected]>
Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label May 10, 2022
@tekton-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nikhil-thomas, vdemeester

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [nikhil-thomas,vdemeester]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot merged commit 0f049c4 into tektoncd:release-v0.50.x May 10, 2022
@sm43 sm43 deleted the cp-163 branch May 10, 2022 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants